use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let mut distinct_parts = HashSet::new();

    for c in input_str.split(',') {
        distinct_parts.insert(c);
    }
    distinct_parts.len()
}
